<template lang="html">
  <div class="bestgroupbox">
    <menu-bar :menulist="munulist" routename="bestgroupbox"></menu-bar>
    <group-list></group-list>
  </div>
</template>

<script>
import MenuBar from 'components/MenuBar'
import GroupList from 'components/greatstock/GroupList'
export default {
  computed: {
    munulist () {
      let list = [
        {
          icon: 'icon-rishouyi',
          text: '日收益'
        },
        {
          icon: 'icon-yueshouyi',
          text: '月收益'
        },
        {
          icon: 'icon-zongshouyi',
          text: '总收益'
        },
        {
          icon: 'icon-renqizuhe',
          text: '人气组合'
        }
      ]
      return list
    }
  },
  components: {
    'menu-bar': MenuBar,
    'group-list': GroupList
  },
  mounted:function(){
    this.$root.eventHub.$emit('groupbox.active');//触发，HeaderTop添加创建组合按钮。
  }
}
</script>

<style lang="css">
</style>
